<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.bootcss.com/vue/2.4.2/vue.js"></script>
</head>
<body>
    <div id="app">
        <p v-if="type == 'A'">显示A</p>
        <p v-else-if="type == 'B'">显示B</p>
        <p v-else>显示C</p>
    </div>
<script>
    new Vue({
        el : "#app",
        data : {
            type : 'A'
        }
    })
</script>
</body>
</html>